Skip to main content

customer_master_gen

1. Description

Customer master gen program is used for generating ucic_master,ucic_master2 and ucic_master_amount files. This program works only for SA,CA,TD,RD.

2.Screen Configuration

2.1 Process Config Fields

customer_master_gen_config

2.1.1 Additional Input file

This file contains:

#FileTypeDescriptionRequired
1Output Metadata filesOutput MetadataProvide the path to the output metadata files of SA,CA,TD and RD.true
2UCICReferenceProvide the path to the ucic filefalse

2.2 Process Arguments

customer_master_gen_pa

Here enter the process arguments to be passed to the program. The mandatory and non-mandatory fields are given below.

2.2.1 Mandatory Parameters
#ParametersDescriptionExample
1process_configPath to process config file that needs to be processed/path/to/process_config.json
2as_on_dateThe date for which the program has to run2024-11-28
3log_file_pathPath to write logstest-bed/log.txt
4diagnostics_file_pathPath to write diagnostics logstest-bed/diag_log.txt
2.2.2 Non-Mandatory Parameters
#ParametersDescriptionDefault ValueExample
1log_levelLevel of diagnostics written to the log fileinfodebug
2is_perf_diagnostics_enabledThe flag that decides whether performance diagnostics are loggedfalsetrue
3nwd_codesNWD codes for processing""NWD123,NWD456
4retail_codesRetail codes for processing""RT001,RT002
5residual_daysResidual days for processing""30
6check_wdFlag to check withdrawalsfalsetrue

2.3 Derivations

customer_master_gen_der

Note:These configurations are mandatory for each source(SA,CA,TD,RD).

3. Output

This program generates three files ucic_master.txt, ucic_master2.txt and ucic_master_amount.txt. These files are generated in SH_SUMMARYDATA folder.

3.1 ucic_master file

        customer_type|customer_name|customer_id

3.2 ucic_master2 file

        customer_id~#~customer_type~#~customer_name~#~customer_id

3.3 ucic_master_amount file

        customer_type|customer_id|currency|ca_amount|sa_amount|td_wd_amount|td_nwd_amount|rd_amount|0|0|0|0